class GetFreeRideOrderList {
  String id;
  String depAre;
  String depLongitude;
  String depLatitude;
  String destLongitude;
  String destLatitude;
  String destArea;
  String departureDate;
  String unitPrice;
  String totalPrice;
  String state;

  GetFreeRideOrderList(
      {this.id,
      this.depAre,
      this.depLongitude,
      this.depLatitude,
      this.destLongitude,
      this.destLatitude,
      this.destArea,
      this.departureDate,
      this.unitPrice,
      this.totalPrice,
      this.state});

  GetFreeRideOrderList.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    depAre = json['dep_are'];
    depLongitude = json['dep_longitude'];
    depLatitude = json['dep_latitude'];
    destLongitude = json['dest_longitude'];
    destLatitude = json['dest_latitude'];
    destArea = json['dest_area'];
    departureDate = json['departure_date'];
    unitPrice = json['unit_price'];
    totalPrice = json['total_price'];
    state = json['state'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['dep_are'] = this.depAre;
    data['dep_longitude'] = this.depLongitude;
    data['dep_latitude'] = this.depLatitude;
    data['dest_longitude'] = this.destLongitude;
    data['dest_latitude'] = this.destLatitude;
    data['dest_area'] = this.destArea;
    data['departure_date'] = this.departureDate;
    data['unit_price'] = this.unitPrice;
    data['total_price'] = this.totalPrice;
    data['state'] = this.state;
    return data;
  }
}
